package com.example.dy.pay.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 
 * @TableName t_pay_result
 */
@TableName(value ="t_pay_result")
@Data
public class PayResult implements Serializable {
    /**
     * 
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 
     */
    @TableField(value = "order_no")
    private String order_no;

    /**
     * 
     */
    @TableField(value = "payinfo_id")
    private Long payinfo_id;

    /**
     * 
     */
    @TableField(value = "state_time")
    private LocalDateTime state_time=LocalDateTime.now();

    @TableField(value = "modify_time")
    private LocalDateTime modify_time=LocalDateTime.now();

    @TableField(value = "state")
    private Integer state;

//    public

    @TableField(value = "state_finished")
    private Integer state_finished;

    @TableField(value = "act_reason")
    private String act_reason;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}